/**
 * @(#) SchoolExpListVO.as
 *
 * @date		2010. 11. 01.
 * @version		2.0
 * @author		Shin, Yunwoo
 * @client		Service Ace
  * @module		schoolexp (학자금 신청)
 * @description	학자금 신청 목록
 *
 */
package com.skt.common_hr.schoolexp_nos.model.vo
{
	import com.wcl.utils.DateUtil;
	import com.wcl.utils.NumberUtil;

	[Bindable]
	public class SchoolExpListVO
	{
		public var WEL_KEY01:String;			// 결재키
		public var WSTATUS:String;				// 결재상태
		public var WTEXT:String;				// 결재상태 텍스트
		public var BEGDA:Date;					// 신청일
		public var TOTPY:Number;				// 신청금액
		//public var ZPAYDT:Date;					// 지급일
		public var ZPAYTX:String;					// 지급일
		
		
		public var TOTPY2:Number;				// 지급금액
		public var SLART:String;				// 학교구분
		public var ZSLART:String;				// 학교명
		public var FAMSA:String;				// 가족관계
		public var FCNAM:String;				// 가족이름
		public var ZGRADE:String;				// 학년
		
		public var STEXT:String;				// 

		public function get begda():String
		{
			return DateUtil.toDefaultString(BEGDA);
		}
		public function get paydt():String
		{
			if(ZPAYTX==null)
				return "-";
			else
				//return DateUtil.toDefaultString(ZPAYTX);
				return ZPAYTX;
		}

		public function get totpy():String
		{
			return NumberUtil.NumberFormat(TOTPY);
		}

		public function get totpy2():String
		{
			if(TOTPY2<=0) {
				return "-";
			}
			else
				return NumberUtil.NumberFormat(TOTPY2);
		}
	}
}